package com.usain.user.controller;

import com.usain.user.service.ApUserRealnameService;
import com.usian.api.user.ApUserRealnameControllerApi;
import com.usian.model.common.dtos.PageResponseResult;
import com.usian.model.user.dtos.AuthDto;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/v1/auth")
public class ApUserRealnameController implements ApUserRealnameControllerApi {

@Autowired
private ApUserRealnameService apUserRealnameService;
    @PostMapping("list")
    @Override
    public PageResponseResult loadListByStatus(@RequestBody AuthDto dto) {
        return apUserRealnameService.loadListByStatus(dto);
    }
}